﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern.AdapterPattern02
{
    public class AudioPlayer : IMediaPlayer
    {

        private MediaAdapter _mediaAdapter=new MediaAdapter(new Mp4Player());

        public void Play()
        {
            _mediaAdapter.Play();
        }
    }
}
